package com.suray.attendance.contacts.service;

import com.suray.attendance.model.pojo.UserInfo;

import java.util.List;

/**
 * @Author: jianglinyu
 * @CreateTime: 2023-07-07  19:06
 * @Description: ERP和钉钉之间的用户对应业务层接口类
 * @Version: 1.0
 */
public interface DingUserService {

    /**
     * @description: 根据部门id获取员工userId列表
     * @author: jianglinyu
     * @date: 2023/7/11 9:04
     *
     * @return*/
    public List<String> getUserListByDeptId(Long deptId);

     /**
      * @description:  获取部门员工详情
      * @author: jianglinyu
      * @date: 2023/7/11 10:39
      *
      * @return*/
     public List<UserInfo> getUserInfoFromDingDingByDeptId(String accessToken,Long deptId);

    /**
     * @description:根据用户id 获取用户钉钉详细信息
     * @author: jianglinyu
     * @date: 2023/7/11 11:18
     **/
    public String getUserInfoById(String userId);


}